﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CanDoo.Core;
using CanDoo.Data;
using CanDoo.Contracts;
using CanDoo.Oil.Core.Models;
using CanDoo.Core.Data;
using CanDoo.Oil.Core.DTOs;

namespace CanDoo.Oil.Core.Contracts
{
    /// <summary>
    /// 业务契约——取油码
    /// </summary>
    public interface IGetOilCodeContract : IServiceBaseCore<GetOilCode>, IServiceBase<GetOilCode>
    {
        /// <summary>
        /// 1.1.3取油码取油
        /// </summary>
        /// <param name="oilCode"></param>
        /// <param name="terminalNo"></param>
        /// <returns></returns>
        Task<OilCodeInfo> GetOilCodeAsync(string oilCode,string terminalNo);
    }
}

